package com.supercube.sport.yoga.dao;

import com.supercube.sport.yoga.bo.ClassTableInfoBO;
import com.supercube.sport.yoga.domain.ClassInfoDTO;
import com.supercube.sport.yoga.vo.CardSupportVenues;
import com.supercube.sport.yoga.vo.ClassTableInfoVO;
import com.supercube.sport.yoga.vo.CourseSupportCardInfoVO;

import java.util.List;

public interface ClassInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(ClassInfoDTO record);

    int insertSelective(ClassInfoDTO record);

    ClassTableInfoVO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ClassInfoDTO record);

    int updateByPrimaryKey(ClassInfoDTO record);

    List<ClassTableInfoVO> queryClassTableInfoList(ClassTableInfoBO bo);

    List<ClassTableInfoVO> selectPrivateAppointmentClass(String memberId, Long coachId, String date, String courseId);

    List<ClassTableInfoVO> selectCanUseSiteBySiteDate(String siteId, String date);

    List<ClassTableInfoVO> selectCanUseCoachByCoachDate(Long coachId, String date);

    List<CourseSupportCardInfoVO> selectAllCardByCourseId(String courseId, String cardName, String cardType);

    List<CardSupportVenues> selectCardSupportVenuesList();
}